Skip to content

Conversation

phracek
Copy link
Member

@phracek phracek commented Sep 11, 2025

This pull request contains set of PyTest from migration bash tests to PyTest.

The migration matrix is:

TEST_LIST_APP="\
test_s2i_usage -> test_container_basics.py(TestNginxContainer.test_run_s2i_usage)
test_docker_run_usage -> test_container_basics.py(TestNginxContainer.test_docker_run_usage)
test_scl_usage -> test_container_basics.py(TestNginxContainer.test_scl_usage)
test_application -> test_container_application.py(TestNginxApplicationContainer.test_application)
test_log_output -> test_container_log.py(TestNginxLogContainer.test_log_output)
test_log_volume_output -> test_container_log.py(TestNginxLogContainer.test_log_volume_output)
test_application_user ->  test_container_application.py(TestNginxApplicationContainer.test_application_user)
"
TEST_LIST_HOOK_APP="test_pre_init_script" -> test_container_example_app.py(TestNginxExampleAppContainer.test_run_app_test)
TEST_LIST_PERL_APP="test_perl_directive" -> test_container_example_app.py(TestNginxExamplePerlAppContainer.test_run_app_test)
TEST_LIST_MISC=run_dockerfiles_test -> test_container_basics.py(TestNginxContainer.test_dockerfiles)

Also OpenShift Pytest were renamed to test_ocp_*.py

@phracek phracek force-pushed the container_pytests branch 2 times, most recently from 050a562 to 6d1b8be Compare September 11, 2025 13:53
PyTest suite for nginx-container is present

Signed-off-by: Petr "Stone" Hracek <[email protected]>
@phracek
Copy link
Member Author

phracek commented Sep 11, 2025

[test-pytest]

Copy link

github-actions bot commented Sep 11, 2025

Pull Request validation

Failed

🔴 Failed or pending statuses:

  • Testing Farm - CentOS Stream 9 - PyTest - 1.26[pending]
  • Testing Farm - RHEL9 - PyTest - 1.20[pending]
  • Testing Farm - RHEL9 - Unsubscribed host - PyTest - 1.24[pending]
  • Testing Farm - RHEL9 - PyTest - 1.26[pending]
  • Testing Farm - CentOS Stream 9 - PyTest - 1.22-micro[pending]
  • Testing Farm - RHEL9 - Unsubscribed host - PyTest - 1.26[pending]
  • Testing Farm - RHEL9 - Unsubscribed host - PyTest - 1.20[pending]

🔴 Review - Missing review from a member (1 required)

Copy link

github-actions bot commented Sep 11, 2025

Testing Farm results

namecomposearchstatusstarted (UTC)timelogs
Fedora - PyTest - 1.26Fedora-latestx86_64✅ passed19.09.2025 08:56:284min 47stest pipeline
CentOS Stream 10 - PyTest - 1.26CentOS-Stream-10x86_64✅ passed19.09.2025 08:26:517min 53stest pipeline
CentOS Stream 9 - PyTest - 1.24CentOS-Stream-9x86_64✅ passed19.09.2025 08:26:539min 20stest pipeline
CentOS Stream 9 - PyTest - 1.22-microCentOS-Stream-9x86_64✅ passed19.09.2025 08:08:299min 9stest pipeline
CentOS Stream 9 - PyTest - 1.26CentOS-Stream-9x86_64✅ passed19.09.2025 08:08:169min 34stest pipeline
RHEL10 - PyTest - 1.26RHEL-10-Nightlyx86_64✅ passed19.09.2025 08:44:0011min 22stest pipeline
RHEL8 - PyTest - 1.22RHEL-8.10.0-Nightlyx86_64✅ passed19.09.2025 09:03:1016min 10stest pipeline
RHEL8 - PyTest - 1.22-microRHEL-8.10.0-Nightlyx86_64✅ passed19.09.2025 08:18:3514min 25stest pipeline
RHEL8 - PyTest - 1.24RHEL-8.10.0-Nightlyx86_64✅ passed19.09.2025 08:09:0414min 24stest pipeline
RHEL9 - Unsubscribed host - 1.26RHEL-9.6.0-Nightlyx86_64✅ passed11.09.2025 13:55:1217min 39stest pipeline
RHEL9 - Unsubscribed host - 1.20RHEL-9.6.0-Nightlyx86_64✅ passed11.09.2025 13:55:1817min 18stest pipeline
RHEL9 - PyTest - 1.22RHEL-9.6.0-Nightlyx86_64✅ passed19.09.2025 08:25:3217min 20stest pipeline
RHEL9 - Unsubscribed host - 1.22RHEL-9.6.0-Nightlyx86_64✅ passed11.09.2025 13:56:3316min 49stest pipeline
RHEL9 - PyTest - 1.24RHEL-9.6.0-Nightlyx86_64✅ passed19.09.2025 08:45:0817min test pipeline
RHEL9 - PyTest - 1.20RHEL-9.6.0-Nightlyx86_64✅ passed19.09.2025 08:08:1717min 1stest pipeline
RHEL9 - PyTest - 1.26RHEL-9.6.0-Nightlyx86_64✅ passed19.09.2025 08:08:1917min 50stest pipeline
RHEL9 - Unsubscribed host - PyTest - 1.20RHEL-9.6.0-Nightlyx86_64✅ passed19.09.2025 08:08:3316min 12stest pipeline
RHEL9 - Unsubscribed host - PyTest - 1.24RHEL-9.6.0-Nightlyx86_64✅ passed19.09.2025 08:08:1716min 41stest pipeline
RHEL9 - Unsubscribed host - PyTest - 1.26RHEL-9.6.0-Nightlyx86_64✅ passed19.09.2025 08:08:3317min 9stest pipeline
RHEL9 - Unsubscribed host - PyTest - 1.22RHEL-9.6.0-Nightlyx86_64✅ passed19.09.2025 08:26:4416min 51stest pipeline

@phracek
Copy link
Member Author

phracek commented Sep 16, 2025

[test-pytest]

it lacks with perl

Do not use micro version, but only a VERSION

Signed-off-by: Petr "Stone" Hracek <[email protected]>
@phracek
Copy link
Member Author

phracek commented Sep 16, 2025

Let's test it again after fixing VERSION and micro

[test-pytest]

@phracek
Copy link
Member Author

phracek commented Sep 16, 2025

/auto-merge

@phracek
Copy link
Member Author

phracek commented Sep 19, 2025

[test-pytest]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant